import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex) 
//引入小仓库
import detail from './Detail/index.js'
import home from './home'
import search from './search'
import shopcat from './ShopCat/index'
import user from './User/index'
import trade from './Trade/index.js'
export default new Vuex.Store({
  modules: {
    home,
    search,
    detail,
    shopcat,
    user,
    trade
  }
})
